package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户信息对象 dzbq_businessusers
 * 
 * @author tianxingxia
 * @date 2025-02-07
 */
public class DzbqBusinessusers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户ID */
    private Integer userId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String companyName;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String trueName;

    /** 所属行业 */
    @Excel(name = "所属行业")
    private Long industryId;

    /** 行业名称 */
    private String industryName;

    /** 所属代理 */
    @Excel(name = "所属代理")
    private Long agentId;

    /** 介绍人 */
    @Excel(name = "介绍人")
    private Integer referralUserId;

    /** 手机 */
    @Excel(name = "手机")
    private String accountMobile;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String accountEmail;

    /** 客户状态 */
    @Excel(name = "客户状态")
    private Integer state;

    /** 可用系统 */
    @Excel(name = "可用系统")
    private String systemIds;

    /** 试用客户 */
    @Excel(name = "试用客户")
    private Integer trial;

    /** 最后活动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后活动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastActivityTime;

    /** 最后活动IP */
    @Excel(name = "最后活动IP")
    private String ipLastActivity;

    /** 创建者ID */
    @Excel(name = "创建者ID")
    private Long createUserId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dateCreated;

    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setTrueName(String trueName) 
    {
        this.trueName = trueName;
    }

    public String getTrueName() 
    {
        return trueName;
    }
    public void setIndustryId(Long industryId) 
    {
        this.industryId = industryId;
    }

    public Long getIndustryId() 
    {
        return industryId;
    }
    public void setIndustryName(String industryName) 
    {
        this.industryName = industryName;
    }

    public String getIndustryName() 
    {
        return industryName;
    }
    public void setAgentId(Long agentId) 
    {
        this.agentId = agentId;
    }

    public Long getAgentId() 
    {
        return agentId;
    }
    public void setReferralUserId(Integer referralUserId) 
    {
        this.referralUserId = referralUserId;
    }

    public Integer getReferralUserId() 
    {
        return referralUserId;
    }
    public void setAccountMobile(String accountMobile) 
    {
        this.accountMobile = accountMobile;
    }

    public String getAccountMobile() 
    {
        return accountMobile;
    }
    public void setAccountEmail(String accountEmail) 
    {
        this.accountEmail = accountEmail;
    }

    public String getAccountEmail() 
    {
        return accountEmail;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }
    public void setSystemIds(String systemIds) 
    {
        this.systemIds = systemIds;
    }

    public String getSystemIds() 
    {
        return systemIds;
    }
    public void setTrial(Integer trial) 
    {
        this.trial = trial;
    }

    public Integer getTrial() 
    {
        return trial;
    }
    public void setLastActivityTime(Date lastActivityTime) 
    {
        this.lastActivityTime = lastActivityTime;
    }

    public Date getLastActivityTime() 
    {
        return lastActivityTime;
    }
    public void setIpLastActivity(String ipLastActivity) 
    {
        this.ipLastActivity = ipLastActivity;
    }

    public String getIpLastActivity() 
    {
        return ipLastActivity;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setDateCreated(Date dateCreated) 
    {
        this.dateCreated = dateCreated;
    }

    public Date getDateCreated() 
    {
        return dateCreated;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("companyName", getCompanyName())
            .append("trueName", getTrueName())
            .append("industryId", getIndustryId())
            .append("industryName", getIndustryName())
            .append("agentId", getAgentId())
            .append("referralUserId", getReferralUserId())
            .append("accountMobile", getAccountMobile())
            .append("accountEmail", getAccountEmail())
            .append("state", getState())
            .append("systemIds", getSystemIds())
            .append("trial", getTrial())
            .append("lastActivityTime", getLastActivityTime())
            .append("ipLastActivity", getIpLastActivity())
            .append("createUserId", getCreateUserId())
            .append("dateCreated", getDateCreated())
            .toString();
    }
}
